package com.study.rabbitmq.mqtt;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class MqttConfig {

    @Value("${mqtt.config.username}")
    private String username;

    @Value("${mqtt.config.password}")
    private String password;

    @Value("${mqtt.config.hostUrl}")
    private String hostUrl;

    @Value("${mqtt.config.serverClientId}")
    private String serverClientId;

    @Value("${mqtt.config.clientId}")
    private String clientId;

    @Value("${mqtt.config.pubTopic}")
    private String pubTopic;

    @Value("${mqtt.config.subTopic}")
    private String subTopic;
}
